package com.bcinfo.iccard.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bcinfo.iccard.model.DaliyTotalEarnings;

public interface DaliyTotalEarningsMapper
{
    int deleteByPrimaryKey(Long daliyTotalEarningsId);

    int insert(DaliyTotalEarnings record);

    int insertSelective(DaliyTotalEarnings record);

    DaliyTotalEarnings selectByPrimaryKey(Long daliyTotalEarningsId);

    int updateByPrimaryKeySelective(DaliyTotalEarnings record);

    int updateByPrimaryKey(DaliyTotalEarnings record);

    List<DaliyTotalEarnings> selectByDate(@Param("beginTime") String beginTime, @Param("endTime") String endTime,
            @Param("firstRow") int firstRow, @Param("maxRows") int maxRows);

    int getLastSelectTotalNum();

    DaliyTotalEarnings selectSumByDate(@Param("beginTime") String beginTime, @Param("endTime") String endTime);
}